package com.mmal.example.publish;

import com.mmal.annotation.NotRecommend;
import com.mmal.annotation.NotThreadSafe;
import lombok.extern.slf4j.Slf4j;

/**
 * Created by sigurHe
 * Date:2019/10/7.
 * Time:12:17.
 */
@Slf4j
@NotThreadSafe
@NotRecommend
public class Escape {


    private int thisCannBeEscape = 0;

    public Escape(){
        new InnerClass();
    }

    private class InnerClass{
        public InnerClass(){
            log.info("{}", Escape.this.thisCannBeEscape);
        }
    }

    public static void main(String[] args) {
        new Escape();
    }
}
